import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;


public class list {

    public static void main(String[] args) {
        List<Map<String, Object>> l = new ArrayList<>();


        Map<String, Object> m = new HashMap<>();
        m.put("name", "小名");
        m.put("id", 2005);
        m.put("age", 20);
        l.add(m);

        for (Map<String, Object> map : l){
            System.out.println(map);
        }

    }
}